using System;
using System.Collections.Generic;
using System.Linq;

namespace VotingSystem.ViewModels
{
    public class VoteListViewModel
    {
        public IEnumerable<VoteListItemViewModel> Votes { get; set; } = new List<VoteListItemViewModel>();
    }

    public class VoteListItemViewModel
    {
        public int Id { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public string CreatorName { get; set; }
        public DateTime CreatedAt { get; set; }
        public bool IsActive { get; set; }
        public int TotalVotes { get; set; }
        public int MaxVotes { get; set; }
        public bool IsPublic { get; set; }
        public bool IsAnonymous { get; set; }
    }
} 